var util = require('./util');


module.exports = function (req, res) {
    var tpl = '${ip} - ${remoteUser} [${date}] "${method} ${url}" '
    + 'HTTP/${httpVersion}" ${status} ${resContentLength} "${referrer}" "${userAgent}"';
    return util.format(tpl, req, res);
}
